package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Address;

import java.util.List;
import java.util.Map;

public interface AddressService {
    //查询所有地址信息
    List<Address> findAll();

    //分页查询地址信息
    PageResult findPage(QueryPageBean queryPageBean);

    //新增地址信息
    void add(Address address);

    //删除地址信息
    Result del(int id);

    List<Map<String, Integer>> findList();
}
